
package com.example.visitedsys.informationGet;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import java.util.Date;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 * @author  SongPeng
 * @date  2021/10/19 14:27
 * @version 1.0
 */

@Data
public class VisitorVO {
    @Id
    private Long visitorId;
    private String visitorCtype;
    private String visitorCnumber;
    private String visitorName;
    private Integer visitorAge;
    private Integer visitorSex;
    private String visitorPhoto;
    private String visitorAddress;
    private String visitorNation;
    //访客车牌号
    private String visitorPlate;
    private String visitorPhone;
    private String visitorReason;
    private String visitorCompany;
    private String remarks;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date etime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ltime;
    //被访人信息
    private Long interId;
    private String interName;
    private Integer interSex;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date interBirth;
    private Integer interAge;
    private String interPhone;
    private Long partId;
    private String partName;

}
